<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="../../../common/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>角色设置</title>
		<jsp:include page="../../../common/head.jsp"></jsp:include>
		<script language="javaScript">
	//页面元素验证
	function checkform()
	{
		var objarr = new Array(
		["operationRole.roleName","角色名称","notEmpty",""]
		);
		
		if(xj.CheckAll(objarr))
		{
			if(confirm("确认保存？"))
				return true;
			else
				return false;
		}
		else
			return false;
	}
	//返回
	function goback()
	{
		window.location.href="listOperationRole.do";
	}

</script>
	</head>
	<body>
	<div id="body_div">
		<form method="post" action="updateOperationRole.do" onsubmit="return checkform()">
		<input type="hidden" name="operationRole.roleId" id="operationRole.roleId" value="${operationRole.roleId}"/>
		<input type="hidden" name="operationRole.state" id="operationRole.state" value="${operationRole.state}"/>
			<w:ShowTitle name="修改角色">
			<w:TitleButton funcName="保存" onClickFunction="" urlImg="${ctx}/images/main/save.png" funcType="submit"/>
			</w:ShowTitle>
			<div id="body_content">	
			<table width="100%">
				<tr>
					<td>角色名称</td>
					<td class="left_align"><input type="text" name="operationRole.roleName" maxlength="25" value="${operationRole.roleName}"/></td>
				</tr>
				<tr>
					<td>角色类型</td>
					<td class="left_align"><input type="text" name="operationRole.roleType" maxlength="25" value="${operationRole.roleType}"/></td>
				</tr>
				<tr>
					<td>角色代码</td>
					<td class="left_align"><input type="text" name="operationRole.roleCode" maxlength="25" value="${operationRole.roleCode}"/></td>
				</tr>
				<tr>
					<td>角色标识</td>
					<td class="left_align"><input type="text" name="operationRole.roleSign" maxlength="5" value="${operationRole.roleSign}"/></td>
				</tr>
				<tr>
					<td>角色说明</td>
					<td class="left_align"><input type="text" name="operationRole.roleDescription" maxlength="100" value="${operationRole.roleDescription}"/></td>
				</tr>
			</table>
			</div>
		</form>
	</div>
	</body>
</html>
